﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Goodsbid_add.aspx.cs" Inherits="Company_Goodsbid_add" Title="添加投标商品" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加投标商品</title>
    
    <link href="../System/css.css" rel="stylesheet" type="text/css" />
   
    <link href="../styles/global.css" rel="stylesheet" type="text/css" />

    <script src="../Common/yz.js" type="text/javascript"></script>
    <link href="../styles/style4.css" rel="stylesheet" type="text/css" /> 
</head>
<body>
    <form id="form1" runat="server">
    <div>
     <table width="98%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34" /></td>
            <td class="intro_wordbg">
                确认投标商品</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34" /></td>
        </tr>
    </table>
 <table id="tabData" class="list" cellpadding="1" cellspacing="1" width="100%">
        <tr>
            <td class="td_left_20">
                商品流水号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtGoodsId" runat="server" CssClass="txtbox_200" NumericOnlyZS="药品流水号"></asp:TextBox>
            </td>
            <td class="td_left_20">
                通用名：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtProductName" runat="server" CssClass="txtbox_200" InvertedComma="通用名"></asp:TextBox>
                
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                剂型：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtMedicinemodel" runat="server" CssClass="txtbox_200" InvertedComma="剂型"></asp:TextBox>
            </td>
            <td class="td_left_20">
                规格：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtOutlookc" runat="server" CssClass="txtbox_200" InvertedComma="规格"></asp:TextBox>
            </td>
        </tr> 
        <tr>
            <td   align="right" colspan="4">
                <span style="color:Red; text-align:left; font-stretch:wider">【本页面显示未纳入任何项目的所有审核通过的产品】&nbsp;&nbsp;&nbsp; </span>
                <asp:Button ID="Button5" runat="server" CssClass="button_80" OnClientClick="javascript:return YZ(aspnetForm);"
                    Text="查  询"  />
                &nbsp;&nbsp;&nbsp;<asp:Button ID="Button6" runat="server" CssClass="button_80" OnClientClick="javascript:return YZ(aspnetForm);"
                    Text="确认添加" onclick="Button6_Click" />
                &nbsp;</td>
        </tr> 
        <tr>
            <td colspan="4">
                <asp:GridView AutoGenerateColumns="False" CellPadding="3" ID="GridView1" runat="server"
                    Width="100%"   DataKeyNames="GoodsByCompanyId"
                    >
                    <Columns>
                        <asp:BoundField DataField="GoodsByCompanyId" HeaderText="商品流水号" />
                        <%--<asp:BoundField DataField="Productid" HeaderText="品目号" />--%>
                        <asp:BoundField DataField="pn" HeaderText="通用名" ItemStyle-HorizontalAlign="Left" />
                        <asp:BoundField DataField="ou" HeaderText="规格" />
                        <asp:BoundField DataField="me" HeaderText="剂型" />
                        <asp:BoundField DataField="un" HeaderText="单位" />
                        <asp:BoundField DataField="fa" HeaderText="转换系数" />
                        <asp:BoundField DataField="QualityLevels" HeaderText="质量层次"  />
                        <asp:BoundField DataField="bc" HeaderText="包装材质" />
                        <asp:BoundField DataField="checkstatus" HeaderText="审核状态" />
                            
                        <asp:TemplateField HeaderText="查看">
                            <ItemTemplate>
                            <%if (_Projecitd== "2")
                              { %>
                                <a href='../Company/GoodDetail.aspx?Id=<%# MsgBox.JiaMiobj_Encrypt(Eval("GoodsByCompanyId"))%>'
                                    target="_blank" visible="true">查看</a>
                                   <%}
                              else
                              { %>
                              <a href='../Company/GoodsDeailJB.aspx?Id=<%# MsgBox.JiaMiobj_Encrypt(Eval("GoodsByCompanyId"))%>'
                                    target="_blank" visible="true">查看</a>
                            
                                   <%} %>
                            </ItemTemplate>
                        </asp:TemplateField>                        
                          <asp:TemplateField HeaderText="选择" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <input name="chk" type="checkbox" value='<%# Eval("GoodsByCompanyId")%>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <uc1:dbpageflip ID="DbPageFlip1" runat="server" />
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
